package os.impl;

import os.OperatingSystem;

public class MacOS extends OperatingSystem {
    public MacOS(int v) {
        version = v;
    }

    @Override
    public void open() {
        System.out.println("MacOS opening");
    }

    @Override
    public String type() {
        return this.getClass().getName() + ":V_" + version;
    }

    @Override
    public void close() {
        System.out.println("MacOS closing");
    }
}
